<div id="user-list">
<h1>Listing users</h1>

<table cellpadding="5" cellspacing="0">
<% for user in @users %>
  <tr valign="top" class="<%= cycle('list-line-odd', 'list-line-even') %>">
    <td><%=h user.username %></td>
    <td><%=h user.email %></td>
    <td><%=h user.created_at %></td>
    <td class="list-actions">
		<%= link_to 'Show', user %><br/>
		<%= link_to 'Edit', edit_user_path(user) %><br/>
		<%= link_to 'Destroy', user, :confirm => 'Are you sure?', :method => :delete %>
	</td>
  </tr>
<% end %>
</table>
</div>
<br />

<%= link_to 'New user', new_user_path %>


